﻿using System;
using System.Collections.Generic;
using UnityEngine;

[Serializable]
public class SpriteModelImportSetting
{
    public List<Animation> animations = new List<Animation>();
    public Vector2 pivot = new Vector2(0.5f, 0.5f);
    public float pixelsPerUnit = 100f;

    [Serializable]
    public class Animation
    {
        public List<SpriteModelImportSetting.Frame> frames = new List<SpriteModelImportSetting.Frame>();
        public bool loop = true;
        public string name;
    }

    [Serializable]
    public class Frame
    {
        public float duration;
        public string filePath;
    }
}

